package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 pro_commidity
 * 
 * @author ruoyi
 * @date 2023-09-11
 */
public class ProCommidity extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String commodityName;

    /** 商品价格 */
    @Excel(name = "商品价格")
    private BigDecimal commodityPrice;

    /** 商品重量 */
    @Excel(name = "商品重量")
    private Long commodityWeight;

    /** 商品分类 */
    @Excel(name = "商品分类")
    private String commodityClassification;

    /** 商品规格 */
    @Excel(name = "商品规格")
    private String commoditySpecifications;

    /** 商品属性 */
    @Excel(name = "商品属性")
    private String commodityAttribute;

    /** 商品图片 */
    @Excel(name = "商品图片")
    private String commodityImgs;

    /** 商品描述 */
    @Excel(name = "商品描述")
    private String commodityDesc;

    /** 商品备注 */
    @Excel(name = "商品备注")
    private String commodityRemark;

    /** 经办人 */
    @Excel(name = "经办人")
    private String operator;

    /** 创建者 */
    @Excel(name = "创建者")
    private String userName;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date crateTime;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date uptateTime;

    /** 状态 */
    @Excel(name = "状态")
    private String state;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCommodityName(String commodityName) 
    {
        this.commodityName = commodityName;
    }

    public String getCommodityName() 
    {
        return commodityName;
    }
    public void setCommodityPrice(BigDecimal commodityPrice) 
    {
        this.commodityPrice = commodityPrice;
    }

    public BigDecimal getCommodityPrice() 
    {
        return commodityPrice;
    }
    public void setCommodityWeight(Long commodityWeight) 
    {
        this.commodityWeight = commodityWeight;
    }

    public Long getCommodityWeight() 
    {
        return commodityWeight;
    }
    public void setCommodityClassification(String commodityClassification) 
    {
        this.commodityClassification = commodityClassification;
    }

    public String getCommodityClassification() 
    {
        return commodityClassification;
    }
    public void setCommoditySpecifications(String commoditySpecifications) 
    {
        this.commoditySpecifications = commoditySpecifications;
    }

    public String getCommoditySpecifications() 
    {
        return commoditySpecifications;
    }
    public void setCommodityAttribute(String commodityAttribute) 
    {
        this.commodityAttribute = commodityAttribute;
    }

    public String getCommodityAttribute() 
    {
        return commodityAttribute;
    }
    public void setCommodityImgs(String commodityImgs) 
    {
        this.commodityImgs = commodityImgs;
    }

    public String getCommodityImgs() 
    {
        return commodityImgs;
    }
    public void setCommodityDesc(String commodityDesc) 
    {
        this.commodityDesc = commodityDesc;
    }

    public String getCommodityDesc() 
    {
        return commodityDesc;
    }
    public void setCommodityRemark(String commodityRemark) 
    {
        this.commodityRemark = commodityRemark;
    }

    public String getCommodityRemark() 
    {
        return commodityRemark;
    }
    public void setOperator(String operator) 
    {
        this.operator = operator;
    }

    public String getOperator() 
    {
        return operator;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setCrateTime(Date crateTime) 
    {
        this.crateTime = crateTime;
    }

    public Date getCrateTime() 
    {
        return crateTime;
    }
    public void setUptateTime(Date uptateTime) 
    {
        this.uptateTime = uptateTime;
    }

    public Date getUptateTime() 
    {
        return uptateTime;
    }
    public void setState(String state) 
    {
        this.state = state;
    }

    public String getState() 
    {
        return state;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("commodityName", getCommodityName())
            .append("commodityPrice", getCommodityPrice())
            .append("commodityWeight", getCommodityWeight())
            .append("commodityClassification", getCommodityClassification())
            .append("commoditySpecifications", getCommoditySpecifications())
            .append("commodityAttribute", getCommodityAttribute())
            .append("commodityImgs", getCommodityImgs())
            .append("commodityDesc", getCommodityDesc())
            .append("commodityRemark", getCommodityRemark())
            .append("operator", getOperator())
            .append("userName", getUserName())
            .append("crateTime", getCrateTime())
            .append("uptateTime", getUptateTime())
            .append("state", getState())
            .toString();
    }
}
